#pragma once
#include "../common/Public/scene.h"
#include <string>
using std::string;

class SceneBasic : public Scene
{
public:
	SceneBasic();

	void initScene();
	void update(float t);
	void render();
	void resize(int, int);

private:
	GLuint vaoHandle;
	GLuint programHandle;

	void linkMe(GLint vertShader, GLint fragShader);
	void compileShaderProgram();
	void writeShaderBinary();
	void loadShaderBinary(GLint);
	void loadSpirvShader();

	std::string getShaderInfoLog(GLuint shader);
	std::string getProgramInfoLog(GLuint program);
};